package com.starry.module.system.core.oauth2.authorization.third.client;

import com.starry.module.system.core.oauth2.entity.Oauth2ThirdAccount;
import com.starry.module.system.core.oauth2.authorization.third.AbstractThireClient;
import com.starry.module.system.core.oauth2.entity.Oauth2ThirdClient;
import lombok.extern.slf4j.Slf4j;

/**
 * Github 第三方登录
 *
 * @author xiaoke
 */
@Slf4j
public class ThireClientGithub extends AbstractThireClient {
    public ThireClientGithub(String code, Oauth2ThirdClient oauth2ThirdClient) {
        super(code, oauth2ThirdClient);
    }

    @Override
    public Oauth2ThirdAccount loadUser(String code, String state) {
        return null;
    }

    @Override
    public Oauth2ThirdClient getThirdClientConfig() {
        return thirdClientConfig;
    }
}
